<?php
require_once '../global.php';

$fun = 'top10';
$view = 'admin/stat.html';

if ($_GET['data']) $fun = '_data'.$_GET['data'];
if ($_GET['show']) {
    $fun = 'show'.$_GET['show'];
    $view= 'admin/statflash.html';
}

$Controller =& getController('stat');
$View = $Controller->getView($fun);
$View->display($view);
?>
